package com.fcgzs.sellergoods.feign;

import com.fcgzs.entity.PageResult;
import com.fcgzs.entity.Result;
import com.fcgzs.sellergoods.group.GoodsEntity;
import com.fcgzs.sellergoods.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/****
 * @Author:ujiuye
 * @Description:
 * @Date 2021/2/1 14:19
 *****/
@FeignClient(value="SELLERGOODS")
public interface GoodsFeign {


    @GetMapping("/goods/{id}")
    public Result<GoodsEntity> findById(@PathVariable Long id);

}